
import View.VisualDbWindow;
import comm.AppInterface;

import Application.RequestDbCrown;


public class ClientDbCrown 
{

	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		RequestDbCrown client=RequestDbCrown.getInstance();
		//Modo No debug
		if ( args.length == 0 )
		{
			client.makeRequest("PrimerCliente","temperatura","45");
	        client.makeRequest("PrimerCliente", "temperatura","50");
	        client.makeRequest("PrimerCliente", "humedad","30");
	        client.makeRequest("PrimerCliente", "humedad","80");
		}
		else
		{
		  //Modo debug
			AppInterface.setHasDebug(true);
			VisualDbWindow window = new VisualDbWindow();
			window.frmDbcrownClient.setVisible(true);
		 
		}
		
        
	}

}
